package cn.com.guage.dtm.stat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.com.guage.dtm.common.annotation.Excel;
import cn.com.guage.dtm.common.core.domain.BaseEntity;

/**
 * 数据迁移报告详情对象 stat_trans_report_detail
 * 
 * @author ruoyi
 * @date 2021-07-22
 */
public class StatTransReportDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 作业信息id */
    private Long reportId;

    /** 迁移报告id */
    @Excel(name = "迁移报告id")
    private Long transReportId;

    /** 作业id */
    @Excel(name = "作业id")
    private Long jobId;

    /** 作业代码 */
    @Excel(name = "作业代码")
    private Long jobCode;

    /** 作业名称 */
    @Excel(name = "作业名称")
    private String jobName;

    /** 作业类型 */
    @Excel(name = "作业类型")
    private String jobType;

    /** 源系统id */
    @Excel(name = "源系统id")
    private Long sourceSysId;

    /** 源系统代码 */
    @Excel(name = "源系统代码")
    private String sourceSysCode;

    /** 源系统名称 */
    @Excel(name = "源系统名称")
    private String sourceSysName;

    /** 目标系统id */
    @Excel(name = "目标系统id")
    private Long targetSysId;

    /** 目标系统代码 */
    @Excel(name = "目标系统代码")
    private String targetSysCode;

    /** 目标系统名称 */
    @Excel(name = "目标系统名称")
    private String targetSysName;

    /** 源系统主表代码 */
    @Excel(name = "源系统主表代码")
    private String sourceTableCode;

    /** 源系统主表名称 */
    @Excel(name = "源系统主表名称")
    private String sourceTableName;

    /** 目标系统表代码 */
    @Excel(name = "目标系统表代码")
    private String targetTableCode;

    /** 目标系统表名称 */
    @Excel(name = "目标系统表名称")
    private String targetTableName;

    /** 源系统主表迁移数据量 */
    @Excel(name = "源系统主表迁移数据量")
    private Long sourceTransQuantity;

    /** 目标系统表迁移数据量 */
    @Excel(name = "目标系统表迁移数据量")
    private Long targetTransQuantity;

    /** 成功记录数 */
    @Excel(name = "成功记录数")
    private Long successNumber;

    /** 有错误记录数 */
    @Excel(name = "有错误记录数")
    private Long errorNumber;

    /** 作业耗时 */
    @Excel(name = "作业耗时")
    private Long jobTime;

    /** 作业结果代码 */
    @Excel(name = "作业结果代码")
    private String jobResultCode;

    /** 错误信息 */
    @Excel(name = "错误信息")
    private String jobErrorInfo;

    /** 作业开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "作业开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jobBeginTime;

    /** 作业结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "作业结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jobEndTime;

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setTransReportId(Long transReportId) 
    {
        this.transReportId = transReportId;
    }

    public Long getTransReportId() 
    {
        return transReportId;
    }
    public void setJobId(Long jobId) 
    {
        this.jobId = jobId;
    }

    public Long getJobId() 
    {
        return jobId;
    }
    public void setJobCode(Long jobCode) 
    {
        this.jobCode = jobCode;
    }

    public Long getJobCode() 
    {
        return jobCode;
    }
    public void setJobName(String jobName) 
    {
        this.jobName = jobName;
    }

    public String getJobName() 
    {
        return jobName;
    }
    public void setJobType(String jobType) 
    {
        this.jobType = jobType;
    }

    public String getJobType() 
    {
        return jobType;
    }
    public void setSourceSysId(Long sourceSysId) 
    {
        this.sourceSysId = sourceSysId;
    }

    public Long getSourceSysId() 
    {
        return sourceSysId;
    }
    public void setSourceSysCode(String sourceSysCode) 
    {
        this.sourceSysCode = sourceSysCode;
    }

    public String getSourceSysCode() 
    {
        return sourceSysCode;
    }
    public void setSourceSysName(String sourceSysName) 
    {
        this.sourceSysName = sourceSysName;
    }

    public String getSourceSysName() 
    {
        return sourceSysName;
    }
    public void setTargetSysId(Long targetSysId) 
    {
        this.targetSysId = targetSysId;
    }

    public Long getTargetSysId() 
    {
        return targetSysId;
    }
    public void setTargetSysCode(String targetSysCode) 
    {
        this.targetSysCode = targetSysCode;
    }

    public String getTargetSysCode() 
    {
        return targetSysCode;
    }
    public void setTargetSysName(String targetSysName) 
    {
        this.targetSysName = targetSysName;
    }

    public String getTargetSysName() 
    {
        return targetSysName;
    }
    public void setSourceTableCode(String sourceTableCode) 
    {
        this.sourceTableCode = sourceTableCode;
    }

    public String getSourceTableCode() 
    {
        return sourceTableCode;
    }
    public void setSourceTableName(String sourceTableName) 
    {
        this.sourceTableName = sourceTableName;
    }

    public String getSourceTableName() 
    {
        return sourceTableName;
    }
    public void setTargetTableCode(String targetTableCode) 
    {
        this.targetTableCode = targetTableCode;
    }

    public String getTargetTableCode() 
    {
        return targetTableCode;
    }
    public void setTargetTableName(String targetTableName) 
    {
        this.targetTableName = targetTableName;
    }

    public String getTargetTableName() 
    {
        return targetTableName;
    }
    public void setSourceTransQuantity(Long sourceTransQuantity) 
    {
        this.sourceTransQuantity = sourceTransQuantity;
    }

    public Long getSourceTransQuantity() 
    {
        return sourceTransQuantity;
    }
    public void setTargetTransQuantity(Long targetTransQuantity) 
    {
        this.targetTransQuantity = targetTransQuantity;
    }

    public Long getTargetTransQuantity() 
    {
        return targetTransQuantity;
    }
    public void setSuccessNumber(Long successNumber) 
    {
        this.successNumber = successNumber;
    }

    public Long getSuccessNumber() 
    {
        return successNumber;
    }
    public void setErrorNumber(Long errorNumber) 
    {
        this.errorNumber = errorNumber;
    }

    public Long getErrorNumber() 
    {
        return errorNumber;
    }
    public void setJobTime(Long jobTime) 
    {
        this.jobTime = jobTime;
    }

    public Long getJobTime() 
    {
        return jobTime;
    }
    public void setJobResultCode(String jobResultCode) 
    {
        this.jobResultCode = jobResultCode;
    }

    public String getJobResultCode() 
    {
        return jobResultCode;
    }
    public void setJobErrorInfo(String jobErrorInfo) 
    {
        this.jobErrorInfo = jobErrorInfo;
    }

    public String getJobErrorInfo() 
    {
        return jobErrorInfo;
    }
    public void setJobBeginTime(Date jobBeginTime) 
    {
        this.jobBeginTime = jobBeginTime;
    }

    public Date getJobBeginTime() 
    {
        return jobBeginTime;
    }
    public void setJobEndTime(Date jobEndTime) 
    {
        this.jobEndTime = jobEndTime;
    }

    public Date getJobEndTime() 
    {
        return jobEndTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("transReportId", getTransReportId())
            .append("jobId", getJobId())
            .append("jobCode", getJobCode())
            .append("jobName", getJobName())
            .append("jobType", getJobType())
            .append("sourceSysId", getSourceSysId())
            .append("sourceSysCode", getSourceSysCode())
            .append("sourceSysName", getSourceSysName())
            .append("targetSysId", getTargetSysId())
            .append("targetSysCode", getTargetSysCode())
            .append("targetSysName", getTargetSysName())
            .append("sourceTableCode", getSourceTableCode())
            .append("sourceTableName", getSourceTableName())
            .append("targetTableCode", getTargetTableCode())
            .append("targetTableName", getTargetTableName())
            .append("sourceTransQuantity", getSourceTransQuantity())
            .append("targetTransQuantity", getTargetTransQuantity())
            .append("successNumber", getSuccessNumber())
            .append("errorNumber", getErrorNumber())
            .append("jobTime", getJobTime())
            .append("jobResultCode", getJobResultCode())
            .append("jobErrorInfo", getJobErrorInfo())
            .append("jobBeginTime", getJobBeginTime())
            .append("jobEndTime", getJobEndTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
